package yzserver.sx4a.domain;

import yzserver.sx4a.form.Position;

/**
 * Created with IntelliJ IDEA.
 * User: andrew
 * Date: 14-8-15
 * Time: 上午10:27
 * To change this template use File | Settings | File Templates.
 */
public class PositionDomain {
    private String POSITIONID; //岗位ID
    private String POSITION_TYPEID;//岗位类型id
    private String POSITIONNAME;//岗位名称
    private String POSITIONPARENT;//岗位父ID
    private String DISPLAYNAME ;//       岗位全名
    private String OPUSER ;//操作人信息
    private String POSITION_MUTUAL;//岗位互斥信息
    private String ENABLE;//岗位状态（0是有效，1是失效）
    private String STARTDATE;//生效时间Yyyy-mm-dd 如2010-03-08ate
    private String ENDDATE;//失效时间YYYy-mm-dd 如2010-03-08e
    private String UPDATEDATE;//更新时间yyyy-mm-dd hh:mm:ss，如2010-03-08
    private String ORGID;//组织机构ID
    private String JOBID;//职务ID
    private String ORGNUM;//组织机构非20位id

    public PositionDomain(){

    }

    public PositionDomain(Position position) {
        this.POSITIONID = position.getPositionid();
        this.POSITION_TYPEID = position.getPositionTypeid();
        this.POSITIONNAME = position.getPositionname();
        this.POSITIONPARENT = position.getPositionparent();
        this.DISPLAYNAME = position.getDisplayname();
        this.OPUSER = position.getOpuser();
        this.POSITION_MUTUAL = position.getPositionMutual();
        this.ENABLE = position.getEnable();
        this.STARTDATE = position.getStartdate();
        this.ENDDATE = position.getEnddate();
        this.UPDATEDATE = position.getUpdatedate();
        this.ORGID = position.getOrgid();
        this.JOBID = position.getJobid();
        this.ORGNUM = position.getOrgnum();
    }

    public String getPOSITIONID() {
        return POSITIONID;
    }

    public void setPOSITIONID(String POSITIONID) {
        this.POSITIONID = POSITIONID;
    }


    public String getPOSITIONNAME() {
        return POSITIONNAME;
    }

    public void setPOSITIONNAME(String POSITIONNAME) {
        this.POSITIONNAME = POSITIONNAME;
    }

    public String getPOSITIONPARENT() {
        return POSITIONPARENT;
    }

    public void setPOSITIONPARENT(String POSITIONPARENT) {
        this.POSITIONPARENT = POSITIONPARENT;
    }

    public String getDISPLAYNAME() {
        return DISPLAYNAME;
    }

    public void setDISPLAYNAME(String DISPLAYNAME) {
        this.DISPLAYNAME = DISPLAYNAME;
    }

    public String getOPUSER() {
        return OPUSER;
    }

    public void setOPUSER(String OPUSER) {
        this.OPUSER = OPUSER;
    }

    public String getPOSITION_TYPEID() {
        return POSITION_TYPEID;
    }

    public void setPOSITION_TYPEID(String POSITION_TYPEID) {
        this.POSITION_TYPEID = POSITION_TYPEID;
    }

    public String getPOSITION_MUTUAL() {
        return POSITION_MUTUAL;
    }

    public void setPOSITION_MUTUAL(String POSITION_MUTUAL) {
        this.POSITION_MUTUAL = POSITION_MUTUAL;
    }

    public String getENABLE() {
        return ENABLE;
    }

    public void setENABLE(String ENABLE) {
        this.ENABLE = ENABLE;
    }

    public String getSTARTDATE() {
        return STARTDATE;
    }

    public void setSTARTDATE(String STARTDATE) {
        this.STARTDATE = STARTDATE;
    }

    public String getENDDATE() {
        return ENDDATE;
    }

    public void setENDDATE(String ENDDATE) {
        this.ENDDATE = ENDDATE;
    }

    public String getUPDATEDATE() {
        return UPDATEDATE;
    }

    public void setUPDATEDATE(String UPDATEDATE) {
        this.UPDATEDATE = UPDATEDATE;
    }

    public String getORGID() {
        return ORGID;
    }

    public void setORGID(String ORGID) {
        this.ORGID = ORGID;
    }

    public String getJOBID() {
        return JOBID;
    }

    public void setJOBID(String JOBID) {
        this.JOBID = JOBID;
    }

    public String getORGNUM() {
        return ORGNUM;
    }

    public void setORGNUM(String ORGNUM) {
        this.ORGNUM = ORGNUM;
    }
}
